package com.guoshengdeu.door.service.impl;

import com.guoshengdeu.door.entity.SysManager;
import com.guoshengdeu.door.mapper.SysManagerMapper;
import com.guoshengdeu.door.service.ISysManagerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yfly
 * @since 2021-06-01
 */
@Service
public class SysManagerServiceImpl extends ServiceImpl<SysManagerMapper, SysManager> implements ISysManagerService {

//
//    @Resource
//    private SysManagerMapper sysManagerMapper;
//
//    //登录
//    @Override
//    public SysManager login(Integer name, String pwd) {
//        SysManager sysManager = sysManagerMapper.querySysByName(name, pwd);
//        if (sysManager == null){
//            return null;
//        }
//        return sysManager;
//    }
}
